IApi.EnableAutoConfig 方法
允许启用自动配置,自动为伺服驱动器配置 EtherCAT 设定。
命名空间:IntervalZero.KINGSTAR.Base.Api组合: IntervalZero.KINGSTAR.Base.Api (于 IntervalZero.KINGSTAR.Base.dll) 版本:4.4.0.0
语法
KsError EnableAutoConfig(
bool Active
)
Function EnableAutoConfig(
Active As Boolean
) As KsError
参数
Active
型别:bool
true:启用自动配置;false:停用自动配置。预设为 true。
回传值
型别:KsError
方法的回传值。
备注
此方法须在 Create 或 CreateAsync 后及 Start 前呼叫。
可用的 EtherCAT 状态
ecatOffline
范例
N/A
参见